package com.zhanghe.study.spring4.annotation.bean;

import org.springframework.beans.factory.annotation.Value;

/**
 * @author zh
 * @date 2021/2/21 15:12
 */
public class TestValue {

    @Value("${test.value}")
    private int value;

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "TestValue{" +
                "value=" + value +
                '}';
    }
}
